﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;

using Zen.Toolkit;

namespace Zenui.Toolkit.Examples
{

    public partial class FormTests : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void DojoButton1_Click(object sender, EventArgs e)
        {
            Response.Write("Clicked");
        }

        public void ButtonClick_Handler(object sender, ZenEventArgs e)
        {

            Zen.Toolkit.Panel p = new Zen.Toolkit.Panel();
            p.Width = Unit.Pixel(500);
            p.Height = Unit.Pixel(500);
            p.HtmlContent = "<b>Hello!</b>";
            p.ShowShadow = true;
            p.Label = "I'm a label";

            Page.Controls.Add(p);

        }

    }
}